﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using System.Threading.Tasks;

namespace NineMine.DataModel
{
    public class Document
    {
        [Key]
        public long Id { get; set; }

        public Project Project { get; set; }

        public Enumeration Category { get; set; }

        [MaxLength(60)]
        public string Title { get; set; }

        [Column(TypeName = "ntext")]
        public string Description { get; set; }

        public DateTime? CreatedOn { get; set; }
    }
}
